<!--
 * @Description: 
 * @Version: 1.0
 * @Autor: gaoluo
 * @Date: 2021-08-27 14:46:57
 * @LastEditors: gaoluo
 * @LastEditTime: 2021-08-30 17:46:21
 * @FilePath: /nhw/src/views/Work/EquipmentRepair/EquipmentSelection.vue
-->
<template>
  <div class="EquipmentSelection">
    <NavBar
      fixed
      placeholder
      title="设备报修"
      z-index="999"
      @click-right="onClickRight"
    >
      <template #left>
        <Icon
          name="arrow-left"
          size="0.53rem"
          color="#000"
          @click="$router.back()"
        />
      </template>
    </NavBar>
    <div class="main">
      <div class="top">
        <Icon name="scan" size="8rem" color="black" />
        <div>请扫描设备上的二维码</div>
      </div>
      <div class="bottom" @click="toJump">
        <!-- <Button icon="desktop-o" type="info" round plain></Button> -->
        <div class="btn flex">
          <Icon name="desktop-o" />
        </div>

        <div class="text">选择设备报修</div>
      </div>
    </div>
  </div>
</template>

<script>
import { NavBar, Icon, Field, Uploader, Button, Cell } from "vant";
export default {
  props: {},
  data() {
    return {};
  },
  computed: {},
  created() {},
  mounted() {},
  watch: {},
  methods: {
    onClickRight() {},
    toJump() {
      this.$router.push("EquipmentSelectionList");
    },
  },
  components: { Uploader, NavBar, Icon, Field, Cell, Button },
};
</script>

<style scoped lang="less">
.EquipmentSelection {
  .flex {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  display: flex;
  flex-flow: column;
  .main {
    width: 100%;
    height: 100%;
    display: flex;
    // background-color: red;
    flex-flow: column;
    justify-content: space-between;
    align-items: center;
    .top {
      flex: 1;
      display: flex;
      flex-flow: column;
      justify-content: center;
      align-items: center;
    }
    .bottom {
      height: 400px;
      display: flex;
      flex-flow: column;
      justify-content: center;
      align-items: center;
      .text {
        margin-top: 30px;
      }
      .btn {
        border: 1px solid #000;
        border-radius: 50%;
        width: 100px;
        height: 100px;
      }
    }
  }
}
</style>
